package bTree;

import java.sql.Connection;
import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        String[] nums = new String[]{"10","2"};
        Arrays.sort(nums,(o1,o2) -> (o1+""+o2).compareTo(o2 + "" + o1));


        MyBTree bTree = new MyBTree();
        int[] arr = new int[]{53, 139, 75, 49, 145, 36, 101};
        for (int i = 0; i < arr.length; i++) {
            bTree.add(arr[i]);
        }
        bTree.inorder(bTree.root);
    }
}

